package com.ruoyi.wx.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户金额变化对象 amount_log
 * 
 * @author wt
 * @date 2020-12-13
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("amount_log")
public class AmountLog implements Serializable {

private static final long serialVersionUID=1L;


    /** $column.columnComment */
    @TableId(value = "id")
    @TableField(value = "`id`")
    private Long id;

    /** 1是增加2是减少 */
    @Excel(name = "1是增加2是减少")
    @TableField(value = "`operation_type`")
    private Long operationType;

    /** 操作金额 */
    @Excel(name = "操作金额")
    @TableField(value = "`amount`")
    private BigDecimal amount;

    /** 来源 */
    @Excel(name = "来源")
    @TableField(value = "`origin`")
    private String origin;

    /** 调用堆栈 */
    @Excel(name = "调用堆栈")
    @TableField(value = "`call_stack`")
    private String callStack;

    /** 微信名称 */
    @Excel(name = "微信名称")
    @TableField(value = "`wx_name`")
    private String wxName;

    /** 用户余额id */
    @Excel(name = "用户余额id")
    @TableField(value = "`wx_info_id`")
    private Long wxInfoId;

    /** 微信id */
    @Excel(name = "微信id")
    @TableField(value = "`wx_id`")
    private String wxId;

    /** 创建时间 */
    @TableField(value = "`create_time`")
    private Date createTime;

    /** 去向微信id */
    @Excel(name = "去向微信id")
    @TableField(value = "`to_wx_id`")
    private String toWxId;

    /** 操作前 */
    @Excel(name = "操作前")
    @TableField(value = "`before_operation`")
    private BigDecimal beforeOperation;

    /** 操作的robot */
    @Excel(name = "操作的robot")
    @TableField(value = "`remark`")
    private String remark;
}
